﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.SystemInfo
{
    public class ShopStyle
    {
        #region "member variant"
        private int id;
        private string name;
        private string samplemappath;
        private int isdefault;
        private string version;
        private Nullable<DateTime> createtime;
        private string templatePath;
        #endregion

         #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public ShopStyle()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列id相对应的公共属性, Caption:ID
        /// </summary>
        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        /// <summary>
        /// 与数据库基本列Name相对应的公共属性, Caption:ID
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        /// <summary>
        /// 与数据库基本列SampleMapPath相对应的公共属性, Caption:SampleMapPath
        /// </summary>
        public string SampleMapPath
        {
            get { return samplemappath;}
            set { samplemappath = value; }
        }
        /// <summary>
        /// 与数据库基本列IsDefault相对应的公共属性, Caption:IsDefault
        /// </summary>
        public int IsDefault
        {
            get { return isdefault; }
            set { isdefault = value; }
        }
        /// <summary>
        /// 与数据库基本列Version相对应的公共属性, Caption:Version
        /// </summary>
        public string Version
        {
            get { return version; }
            set { version = value; }
        }
        /// <summary>
        /// 与数据库基本列CreateTime相对应的公共属性, Caption:CreateTime
        /// </summary>
        public Nullable<DateTime> CreateTime
        {
            get { return createtime; }
            set { createtime = value; }
        }

        /// <summary>
        /// 与数据库基本列TemplatePath相对应的公共属性, Caption:TemplatePath
        /// </summary>
        public string TemplatePath
        {
            get { return templatePath; }
            set { templatePath = value; }
        }
        #endregion
    }
}
